<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.CheckMenuItem?>
<?import javafx.scene.control.Hyperlink?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.SeparatorMenuItem?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.VBox?>

<BorderPane prefHeight="574.0" prefWidth="777.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.pestrings.pestringstool.MainController">
   <top>
      <MenuBar BorderPane.alignment="CENTER">
        <menus>
          <Menu mnemonicParsing="false" text="File">
            <items>
                  <MenuItem mnemonicParsing="false" onAction="#onOpenExe" text="Open exe..." />
                  <SeparatorMenuItem mnemonicParsing="false" />
                  <MenuItem mnemonicParsing="false" onAction="#onOpenProject" text="Open project" />
                  <MenuItem mnemonicParsing="false" onAction="#onSaveProject" text="Save project" />
                  <MenuItem mnemonicParsing="false" onAction="#onSaveProjectAs" text="Save project as..." />
                  <SeparatorMenuItem mnemonicParsing="false" />
                  <MenuItem mnemonicParsing="false" onAction="#onSaveMod" text="Make Mod file..." />
              <MenuItem mnemonicParsing="false" onAction="#onExit" text="Exit" />
            </items>
          </Menu>
          <Menu mnemonicParsing="false" text="Edit">
            <items>
                  <MenuItem mnemonicParsing="false" onAction="#onOpenSettings" text="Settings" />
                  <SeparatorMenuItem mnemonicParsing="false" />
                  <CheckMenuItem fx:id="isUseStrictFilter" mnemonicParsing="false" onAction="#onUserStrictFilter" selected="true" text="Use a strict filter" />
            </items>
          </Menu>
          <Menu mnemonicParsing="false" text="Help">
            <items>
                  <MenuItem mnemonicParsing="false" onAction="#onOpenIssues" text="Open issues" />
              <MenuItem mnemonicParsing="false" onAction="#onClickAbout" text="About" />
            </items>
          </Menu>
        </menus>
      </MenuBar>
   </top>
   <bottom>
      <VBox prefHeight="141.0" prefWidth="777.0" BorderPane.alignment="CENTER">
         <children>
            <TextArea fx:id="originalTextView" editable="false" focusTraversable="false" prefHeight="200.0" prefWidth="200.0" style="-fx-focus-color: transparent; -fx-faint-focus-color: transparent; -fx-background-color: transparent; -fx-border-color: transparent; -fx-border-width: 0; -fx-padding: 0; -fx-background-radius: 0;">
               <VBox.margin>
                  <Insets left="5.0" right="5.0" top="5.0" />
               </VBox.margin>
            </TextArea>
            <TextArea fx:id="newTextView" onKeyTyped="#onTextsViewTyped" prefHeight="200.0" prefWidth="200.0" promptText="New text">
               <VBox.margin>
                  <Insets left="5.0" right="5.0" top="5.0" />
               </VBox.margin>
            </TextArea>
            <AnchorPane prefHeight="200.0" prefWidth="200.0">
               <children>
                  <Button fx:id="saveButtonView" disable="true" layoutX="647.0" layoutY="9.0" mnemonicParsing="false" onAction="#onSaveText" prefHeight="26.0" prefWidth="116.0" text="Save text" AnchorPane.bottomAnchor="9.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="9.0" />
                  <Label fx:id="statusTextView" layoutX="14.0" layoutY="14.0" text="Select EXE or project" />
                  <Hyperlink layoutX="576.0" layoutY="11.0" onAction="#onTranslateClick" style="-fx-background-color: transparent; -fx-border-color: transparent;" text="Translate..." AnchorPane.bottomAnchor="10.0" AnchorPane.rightAnchor="135.0" />
               </children>
            </AnchorPane>
         </children>
      </VBox>
   </bottom>
   <center>
      <SplitPane dividerPositions="0.3" prefHeight="160.0" prefWidth="200.0" BorderPane.alignment="CENTER">
        <items>
          <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
               <children>
                  <ListView fx:id="stringsList" layoutX="14.0" layoutY="14.0" onMouseClicked="#onClickToStringsList" prefHeight="384.0" prefWidth="217.0" AnchorPane.bottomAnchor="36.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
                  <TextField fx:id="searchBox" layoutX="34.0" layoutY="385.0" onKeyTyped="#onDoSearchString" prefHeight="26.0" prefWidth="234.0" promptText="Search..." AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="130.0" />
                  <CheckBox fx:id="cbSearchEqual" layoutX="309.0" layoutY="375.0" mnemonicParsing="false" onAction="#onCbSearchOptsSelect" text="Equal" AnchorPane.bottomAnchor="9.0" AnchorPane.rightAnchor="10.0" />
                  <CheckBox fx:id="cbSearchCase" layoutX="245.0" layoutY="375.0" mnemonicParsing="false" onAction="#onCbSearchOptsSelect" text="Case" AnchorPane.bottomAnchor="9.0" AnchorPane.rightAnchor="70.0" />
                  <Button layoutX="78.0" layoutY="376.0" mnemonicParsing="false" onAction="#onClearSearchBox" text="x" AnchorPane.bottomAnchor="5.0" AnchorPane.rightAnchor="130.0">
                     <padding>
                        <Insets bottom="5.0" left="8.0" right="8.0" top="4.0" />
                     </padding>
                  </Button>
               </children>
            </AnchorPane>
            <AnchorPane>
               <children>
                  <TableView fx:id="tableView" prefHeight="370.0" prefWidth="539.0" AnchorPane.bottomAnchor="36.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
                  <TextField fx:id="translatedSearchView" layoutX="5.0" layoutY="375.0" onKeyTyped="#onTranslatedTextTyped" prefHeight="26.0" prefWidth="302.0" promptText="Search in translated strings" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" />
                  <Button layoutX="285.0" layoutY="375.0" mnemonicParsing="false" onAction="#onClearTranslatedSearch" text="x" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="285.0">
                     <padding>
                        <Insets bottom="5.0" left="8.0" right="8.0" top="4.0" />
                     </padding>
                  </Button>
               </children>
            </AnchorPane>
        </items>
      </SplitPane>
   </center>
</BorderPane>
